package com.itHaipeng.service;

import com.itHaipeng.pojo.Brand;
import com.itHaipeng.util.PageBean;

import java.util.List;

public interface BrandService {
    //查询所有
    List<Brand> selectAll();
    void insert(Brand brand);
    //批量删除
    void deleteById(int[] ids);
    //分页查询
    PageBean<Brand> selectByPage(int page,int size);
    PageBean<Brand> selectByPageCondition(int page,int size, Brand brand);
}
